# 语法糖@的使用
def decorator(func):
    def inner():
        print("before")
        nei = func()  # 调用原来的函数
        print("after")
        return nei

    return inner


@decorator
def func():
    value = (11, 22, 33, 44)
    print("Hello World{}".format(value))
    return value


aa = func()
print(aa)
# func = decorator(func)
# result = func()
# print(result)
